package net.sourceforge.peertwitter.core.applications.storage;

import java.util.List;


import net.sourceforge.peertwitter.chain.EventChain;
import net.sourceforge.peertwitter.core.Profile;
import net.sourceforge.peertwitter.core.events.Event;
import net.sourceforge.peertwitter.core.messaging.TweetMessage;
import net.sourceforge.peertwitter.mbpast.Replication;
import net.sourceforge.peertwitter.scamp.Swarm;
import rice.p2p.commonapi.Id;

public interface MBStorage extends EventChain<Event> {
	public void storeProfile(Profile profile);
	public void storeSwarmView(Swarm swarm);
	public void storeUpdate(TweetMessage tm);
	public void storeReplication(Replication r);
	public void storeUpdates(Id targetId, List<TweetMessage> updates);
}
